*{
	margin: 0;
	padding: 0;
}
#container{
	width: 320px;
	height: 480px;
	margin: 10px auto;
	position: relative;
	overflow: hidden;
	background: url("../img/game_bg.jpg") no-repeat 0 0;
}
#container>h1{
	/*position: absolute;*/
	margin-left: 60px;
	color: #eee;
}
#container>.progress{
	width: 180px;
	height: 16px;
	position: absolute;
	top: 66px;
	left: 63px;
	border-radius: 10px;
	background: #6af;
}
#container>.start{
	width: 140px;
	height: 40px;
	position: absolute;
	top: 300px;
	left: 50%;
	margin-left: -70px; 
	border: none;
	outline: none;
	cursor: pointer;
	border-radius: 30px;
	background: linear-gradient(#ff6677, #fe2034);
	font-size: 22px;
}
#container>.rules{
	width: 100%;
	height: 17px;
	border: none;
	outline: none;
	cursor: pointer;
	position: absolute;
	bottom: 0;
}
#container>.rule{
	width: 100%;
	height: 100%;
	display: none;
	position: absolute;
	top: 0;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.5);
	padding-top: 100px;
}
.rule>p{
	width: 100%;
	height: 60px;
	text-align: center;
	line-height: 60px;
	color: #eee;
	font-size: 18px;
}
.rule>a{
	display: block;
	width: 100%;
	text-align: center;
	font-size: 16px;
}
#container>.mask{
	width: 100%;
	height: 100%;
	display: none;
	position: absolute;
	top: 0;
	cursor: pointer;
	background: rgba(0, 0, 0, 0.5);
	padding-top: 200px;
}
#container>.mask>h1{
	width: 100%;
	/*height: 60px;*/
	text-align: center;
	/*line-height: 60px;*/
	color: #f81;
	font-size: 40px;
	text-shadow: 3px 3px #fff;
}
.mask>.restart{
	width: 140px;
	height: 40px;
	position: absolute;
	top: 300px;
	left: 50%;
	margin-left: -70px;
	border: none;
	outline: none;
	cursor: pointer;
	border-radius: 30px;
	background: linear-gradient(#74accf, #007ddc);
	font-size: 22px;
}